package com.example.springbootthread.lifecycle;

/**
 * @author : guorf
 * @version : v1.0
 * @description : TODO 加锁后不再释放锁
 * @createTime : 2022/7/21 15:06
 */
public class BlockedThread implements Runnable {
    @Override
    public void run() {
        synchronized (BlockedThread.class) {
            while (true) {
                WaitingTime.waitSecond(100);
            }
        }
    }
}
